<?php
/**
 * Enter description here...
 *
 * @package if
 * @subpackage module.ui
 * @since 1.1.0
 */
class UIFormFailure extends UIControl {
	function render() {
		$form = $this->controller->form();
		if ($form->isPosted() && !$form->isValid()) {
			return $this->content();
		}
		return "";
	}
}

?>